﻿Imports BookObjectLibrary
Imports UserObjectLibrary


Public Class Order
    Private _Id As Integer

    Public Property Id() As Integer
        Get
            Return _Id
        End Get
        Set(ByVal value As Integer)
            _Id = value
        End Set
    End Property
    Private _Book As Book
    Public Property Book() As Book
        Get
            Return _Book
        End Get
        Set(ByVal value As Book)
            _Book = value
        End Set
    End Property

    Private _Customer As Customer

    Public Property Customer() As Customer
        Get
            Return _Customer
        End Get
        Set(ByVal value As Customer)
            _Customer = value
        End Set
    End Property

    Private _BookOwner As BookStoreOwner
    Public Property BookOwner() As BookStoreOwner
        Get
            Return _BookOwner
        End Get
        Set(ByVal value As BookStoreOwner)
            _BookOwner = value
        End Set
    End Property

    Private _OrderDate As Date

    Public Property OrderDate() As Date
        Get
            Return _OrderDate
        End Get
        Set(ByVal value As Date)
            _OrderDate = value
        End Set
    End Property

    Private _OrderAmount As Double

    Public Property OrderAmount() As Double
        Get
            Return _OrderAmount
        End Get
        Set(ByVal value As Double)
            _OrderAmount = value
        End Set
    End Property
End Class
